//package psn.zjk.springboot.jdbc.dynamic;
//
//import org.springframework.beans.factory.support.BeanDefinitionRegistry;
//import org.springframework.boot.context.properties.bind.Binder;
//import org.springframework.context.EnvironmentAware;
//import org.springframework.context.annotation.ImportBeanDefinitionRegistrar;
//import org.springframework.core.env.Environment;
//import org.springframework.core.type.AnnotationMetadata;
//
//public class DynamicDataSource implements ImportBeanDefinitionRegistrar, EnvironmentAware {
//    private Environment environment;
//
//    private Binder binder;
//
//    @Override public void setEnvironment(Environment environment) {
//        this.environment = environment;
//    }
//
//    @Override public void registerBeanDefinitions(AnnotationMetadata importingClassMetadata,
//            BeanDefinitionRegistry registry) {
//    }
//
//}
